// 自动生成模板Article
package model

import (
	"gin-vue-admin/global"
)

// 如果含有time.Time 请自行import time包
type Article struct {
      global.GVA_MODEL
      CateId  int `json:"cateId" form:"cateId" gorm:"column:cate_id;comment:文章分类ID;type:int;size:10;"`
      Content  string `json:"content" form:"content" gorm:"column:content;comment:文章内容;type:longtext(4294967295);"`
      Title  string `json:"title" form:"title" gorm:"column:title;comment:文章标题;type:varchar(255);"`
}


func (Article) TableName() string {
  return "article"
}

